Setting default branch name to main

From Git version 2.28 and beyond:

git config --global init.defaultBranch main